package com.evil.application.pojo.dto.form.control.code;

import com.evil.application.pojo.entity.ApplicationFormControl;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

/**
 * 数据关联-表单控件实体
 *
 * @author liyang
 * @date 2022-08-08 00:00
 */
@Data
@NoArgsConstructor
@EqualsAndHashCode(callSuper = true)
public class OrderSelectControlDTO extends ControlDTO {

    public static String[] ignoreProperties = new String[]{};

    /**
     * 选项分隔符
     */
    private String selectSeparator;

    /**
     * 是否可以多选(0:否, 1:是)
     */
    private Integer multiple;

    /**
     * 是否可以筛选选项(0:否, 1:是)
     */
    private Integer filterable;

    /**
     * 最少选择
     */
    private Integer minSelected;

    /**
     * 最大选择
     */
    private Integer maxSelected;

    /**
     * 是否开启汇总方式(0:否, 1:是)
     */
    private Integer summaryStatus;

    /**
     * 汇总方式
     */
    private Integer summaryType;

    public OrderSelectControlDTO(ApplicationFormControl applicationFormControl) {
        super(applicationFormControl, ignoreProperties);
    }
}
